package com.example.springbootmongodb.pojo;

import java.io.Serializable;

public class Book implements Serializable {
    private final static long SerialVersionUID = 1;
    private Integer id;
    private String bName;

    public Book(Integer id, String bName) {

        this.id = id;
        this.bName = bName;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bName='" + bName + '\'' +
                '}';
    }
}
